package com.ruoyi.mapper;

import com.ruoyi.pojo.Coupons;
import com.ruoyi.povo.CouponsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CouponMapper {
    List<Coupons> getAllCoupons();

    int addCouPon(@Param("couponsVo") CouponsVo couponsVo);

    int editCoupon(@Param("couponsVo") CouponsVo couponsVo);

    int changeCoupon(@Param("id") String id,@Param("status") String status);
}
